home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Tele
/
M
/
MFNotify.cpt
/
MFNotify.src
< prev
next >
Wrap
Text File
|
1989-11-09
|
1KB
|
32 lines
(Install MultiFinder Notification Manager alert.)
(NOTE: Changes value of S%,I%, and A%)
(Text for dialog box is in T$.)
(Set S% = 0, to play no sound)
(Set S% < 0, to use Control Panel BeepSound
(Set S% > 0, play 'snd ' resource ID number S%)
(For debugging purposes:)
(if (S% > 0) S% returns 0 if no error, 1 if not enough free memory to hold)
( 'snd ' resource, or 2 if 'snd ' resource not found.)
(Set I% = 0, to use no small icon in Apple menu)
(Set I% < 0, use White Knight small icon in Apple menu)
(Set I% > 0, use 'SICN' resource ID number I%)
(For debugging purposes:)
(if (I% > 0) I% returns 0 if no error, 1 if not enough free memory to hold)
( 'snd ' resource, or 2 if 'snd ' resource not found.)
(A% holds the result code of the install attempt - I have no idea)
(what they mean except zero is good.)
(NOTE: This sample Procedure contains 'snd ' resource ID #8000, which is)
(over 20K in length. Feel free to ditch it if you don't need it. However,)
(don't take out 'SICN' resource ID #8000, which is the default WK)
(small icon.)
LET EQUAL S%,8000
LET EQUAL I%,-1
COPYINTO T$,White Knight would like your attention.
CONCAT T$, Please bring it to the front.
RCMD 1,205
SCREEN ON
NESTEND